#include"head.h"

int main(void)
{
    ret_val_t ret ;
    memset(ret.path_info , 0 , sizeof(ret.path_info)) ;
    char path[5] = "NAME" ;
    mode_t mode = 0600 ;
    int ret_check = mkdir_m( path,mode ) ;
    if(ret_check == 1)
    {
        printf("mkdir s\n") ;
    }
    else if( ret_check == -1 )
    {
        printf("mkdir f\n") ;
    }

    ret = pwd_m() ;
    if(ret.check_value == 1)
    {
        printf("pwd is :\n") ;
        puts(ret.path_info) ;
    }
    else if( ret.check_value == -1 )
    {
        printf("pwd f\n") ;
    }

    ret = ls_m(path) ;
    if(ret.check_value == 1)
    {
        printf("ls s\n") ;
    }
    else if( ret.check_value == -1 )
    {
        printf("ls f\n") ;
    }

    ret = remove_m(path) ;
    if(ret.check_value == 1)
    {
        printf("remove s\n") ;
    }
    else if( ret.check_value == -1 )
    {
        printf("remove f\n") ;
    }


    
    return 0  ;
}